package com.suray.attendance.db.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.suray.attendance.model.pojo.ReportWorkInfo;
import com.suray.attendance.model.vo.ProductionDataCollectVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jly
 * @since 2023-09-20
 */
public interface ReportWorkInfoDBService extends IService<ReportWorkInfo> {

    /**
    * @Description: 批量修改数据库中报工表的数据同步状态
    * @Param: [reportWorkInfoList, dataSyncStatus]
    * @return: java.lang.Boolean
    * @Author: jly
    * @Date: 2023/11/29
    */
    public Boolean updateReportWorkInfoDataSyncStatus(List<ReportWorkInfo> reportWorkInfoList, Integer dataSyncStatus);

    /**
    * @Description: 使用于研发报工的erp报工接口
    * @Param: [productionData]
    * @return: java.lang.Boolean
    * @Author: jly
    * @Date: 2023/11/29
    */
    public Boolean workReportDataToErp(List<ProductionDataCollectVo> productionData);

}
